<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<c:forEach items="${controlDiskVideoList}" var="controlDiskVideo" varStatus="statu">
	${controlDiskVideo.name}
	<a href="updateControlDiskVideo.action?controlDiskVideo.id=${controlDiskVideo.id}">修改</a>  
	<a href="deleteControlDiskVideo.action?controlDiskVideo.id=${controlDiskVideo.id}" onclick="return confirm('您是否删除')">删除</a><br />
</c:forEach>

<s:form action="addControlDiskVideo" method="POST" >
	<s:textfield name="controlDiskVideo.name" label="产品名称" />
	<s:textfield name="controlDiskVideo.model" label="产品型号" />	
	<s:textfield name="controlDiskVideo.inputVideo" label="视频输入" />
	<s:textfield name="controlDiskVideo.inputAudio" label="音频输入" />
	<s:textfield name="controlDiskVideo.compressMode" label="压缩方式" />
	<s:textfield name="controlDiskVideo.displayMode" label="显示方式" />
	<s:textfield name="controlDiskVideo.displayQuality" label="画质" />
	<s:textfield name="controlDiskVideo.displayFrame" label="显示帧数" />
	<s:textfield name="controlDiskVideo.videoFrame" label="录像帧数" />
	<s:textfield name="controlDiskVideo.videoMode" label="录像方式" />
	<s:file name="controlDiskVideo.photo" label="产品照片" />
	
	<input type="hidden" name="controlDiskVideo.id" value="${controlDiskVideo.id}"/>
	
	<s:submit name="增加" label="增加" />
</s:form>
</body>
</html>